# -*- coding: utf-8 -*-
# This code written by ChanGOGOGO
""" """
import os
import pytest

# pytest.main(['-q', '--env', 'uat', '--clean-alluredir', '--alluredir', '../result'])
# pytest.main(["--env", "pls", "-v"])  # 线上环境
# pytest.main(["--env", "pet", "-v"])  # 测试环境
pytest.main(["--env", "dev", "-v"])  # 测试环境

# pytest.main(
#     [
#         "--env",
#         "dev",
#         "-v",
#         "test_case/test_dialog_design.py::test_login",
#         "test_case/test_dialog_design.py::test_create_experiment_group",
#         "test_case/test_dialog_design.py::test_create_child_scene",
#         "test_case/test_callin_task.py",
#     ]
# )  # 测试环境
# os.system('allure generate ./result -o ./report --clean')  # 生成测试报告
# os.system("allure open ./report")  # 自动打开测试报告
